S-CDR Field Descriptions


S-CDR Field Descriptions
 
This chapter lists and describes the fields supported by the system for use in SGSN Charging Data Records (S-CDRs).
The following information is provided for each field:
Description: The field’s description.
Format: The field’s data format.
Length: The field’s size, in bytes.
Based on the following standards:
Also, refer the SGSN and Mobility Management Charging Detail Record Field Reference Tables chapter for information on CDR fields supported in S-CDRs.
CDR Fields
Access Point Name Network Identifier
The network identifier (NI) portion of the access point name (APN). The APN typically corresponds to a registered Internet domain name and represents the external packet data network (PDN). It is sent to the SGSN by the MS (or determined locally by the HLR or configuration) and is relayed to the GGSN in the Create PDP Context Request message.
The APN string may consist of 1 to 63 characters composed of alphanumerics (upper- and/or lowercase letters and digits 0-9), periods and dashes
Format
IA5 String
Length
1–65 Bytes
Access Point Operator Identifier
The operator identifier (OI) part of the APN. The OI is composed of three parts (<operator’s MNC>.<operator’s MCC>.gprs) and the first two combined uniquely identify the network operator’s PLMN.
Format
IA5 String
Length
1–37 Bytes
APN Selection Mode
An index indicating how the APN was selected.
The following APN selection mode indexes are possible:
Format
Unsigned Integer
Enumerated for custom33
Length
1 Byte
CAMEL Information
Set of CAMEL information related to PDP context. This field is present if CAMEL Charging Information is received by the HLR in ISD message.
Format
Octet String
Length
N/A
Cause for Record Closing
The reason the record is closed and released from the SGSN.
Some of the possible reasons are:
Format
Unsigned Integer
Length
1 Byte
Cell Identifier
For GSM, the Cell Identifier is defined as the Cell Id, reference 24.008. For UMTS, it is defined as the Service Area Code in TS 25.413. This field contains the CI (GSM) or the SAC (WCDMA) where the MS is located when the S-CDR is opened. The first partial or single S-CDR reports the value at PDP context activation. For any subsequent partial S-CDRs, the accuracy of the reported value is limited to the value at the last RA update reported by the MSCell identity for GSM or Service Area Code (SAC) for UMTS at “Record Opening Time”.
Format
Octet String
Length
2 Bytes
Change Condition
The Change Condition field is part of the ChangeOfCharCondition element in the List of Traffic Data Volumes.
Change Condition defines the reason for closing the container; supported values include:
Format
Enumerated
Length
1 Byte
Change of Charging Characteristics
Lists the charging characteristics applied to the PDP context.
The SGSN can accept charging characteristics from the HLR or use its own. SGSN-configured charging characteristics are specified as part of the operator policy and are applied to subscriber PDP contexts through SGSN-Operator-Policy templates.
Format
Hex Value Octet String
Length
2 Bytes
Change of Charging Condition
Each traffic volume container contains details related to a charging condition as described in the following subsections. A new container is usually created for a QoS change and for tariff changes.
Format
Sequence
Length
Variable
Change Time
The Change Time field is part of the ChangeOfCharCondition element in the List of Traffic Volumes. Change Time identifies the local time when a change condition occurred and the container was closed. The contents of this field are a compact form of the UTC Time format containing local time plus an offset to universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission overhead, for example: e.g. YYMMDDhhmmssShhmm.
Format
BCD encoded octet string
Length
6 Bytes
Charging Characteristics
Lists the charging characteristics (CC) applied to the PDP context by the SGSN. The SGSN can accept charging characteristics from the HLR, default values, or use its own configured values.
Format
Octet string
Length
2 Bytes
Charging Characteristics Selection Mode
The charging characteristic (CC) type that the SGSN applied to the CDR. The following values for this field are supplied:
Format
Enumerated Integer
Length
1 Byte
Charging ID
Field specifies the charging identifier, which can be used together with the GGSN address to identify all records involved in a single PDP context. The charging ID is generated by the GGSN at PDP context activation and is transferred to the SGSN requesting the context. At an inter-SGSN routing area update (ISRAU) the charging ID is transferred to the new SGSN as part of each active PDP context. Each GGSN allocates the charging ID independently and may allocate the same number prefix, so the charging ID must always be combined with the GGSN address to form a unique identifier for the PDP context.
Format
Integer (0..4294967295)
Length
1–4 Bytes / 1-5 Bytes (custom33 only)
Data Volume GPRS Downlink
The Data Volume GPRS Downlink field is a part of the ChangeOfCharCondition element in the List of Traffic Volumes. It includes the number of octets transmitted in the downlink direction during the timeframe specified by the container. For each new container, the counter is reset and does not accumulate. The data volume tabulated by the SGSN covers the amount of user data transferred in the SNDCP PDUs (GSM) and GTP-U T-PDUs (WCDMA). Data volumes retransmitted by RLC or LLC, due to poor radio link conditions, are not tabulated. The data counted includes the IP PDP bearer protocols, i.e. IP or PPP.
Format
Integer
Length
1–5 Bytes
Data Volume GPRS Uplink
The Data Volume GPRS Uplink field is a part of the ChangeOfCharCondition element in the List of Traffic Volumes. It includes the number of octets received in the uplink direction during the timeframe specified by the container. For each new container, the counter is reset and does not accumulate. The data volume tabulated by the SGSN covers the amount of user data transferred in the SNDCP PDUs (GSM) and GTP-U T-PDUs (WCDMA). Data volumes retransmitted by RLC or LLC, due to poor radio link conditions, are not tabulated. The data counted includes the IP PDP bearer protocols, i.e. IP or PPP.
Format
Integer
Length
1–5 Bytes
Diagnostics
This field is included in the CDR when the PDP context is released. This field is supported in G-CDRs but not for eG-CDRs.
It will contain one of the following values:
Format
Unsigned Integer
Length
1 Byte
Duration
This field contains the duration for the record in seconds. For partial records, only the interval described by the recordOpeningTime and the last ChangeTime in the ListOfTrafficVolumes is counted. The Duration value is reset for each new partial CDR. This value is converted from the internal representation in milliseconds to an integer value representing only seconds. The mechanism for this conversion (ceiling, floor, round-off) can be configured.
Format
Unsigned Integer
Length
1–5 Bytes
Dynamic Address Flag
The presence of this field indicates that the PDP Address was dynamically allocated for that particular PDP context during context activation. This field is missing if the address is static (part of the PDP context subscription).
Format
Boolean
Length
1 Byte
GGSN Address
This field provides the IP address for the control plane of the current serving GGSN, which is equivalent to the configured ggsn-service address on the GGSN. The standard 3GPP 32.298 offers a choice for the encoding of the address to be either in binary or text format. The SGSN encodes the address in binary format and includes the Octet String.
Format
Hex Value Octet String
Length
4-6 Bytes
IP Address
The IP address format is used by multiple fields in the CDR, such as the GGSN address or the Served PDP address. This entry is included here to avoid duplication. For the IP address, both the binary and text format and both IPv4 and IPv6 are specified in 3GPP 32.298.
For custom33 only, served PDP IP address will be in IPV4 or IPV6. The SGSN and GGSN transport interfaces should be IPV4 encoded.
Format
Hex Value Octet String
Length
4-6 Bytes
IPv4 Binary Address
This field contains an IPv4 address in hexadecimal format. Depending on where the field is used in the sequence of the CDR, it may contain either an SGSN or GGSN address or the PDP IP address of the mobile subscriber. Note: Note the difference between how the GSN address and the PDP address are encoded. Currently, only IPV4 support is provided.
Format
Hex Value Octet String
Length
Varies for GSN address or PDP address
IPv6 Binary Address
This field contains an IPv6 address in hexadecimal format. Depending on where the field is used in the sequence of the CDR, it may contain either an SGSN or GGSN address or the PDP IP address of the mobile subscriber. Note: Note the difference between how the GSN address and the PDP address are encoded. Currently, only IPV4 support is provided.
Format
Hex Value Octet String
Length
Varies for GSN address or PDP address
List of Traffic Data Volumes
A list of the changes that occurred in the charging conditions for this PDP context.
The list will include one or more containers each including the following fields:
For GPRS, data volumes are in octets above the GTP layer and are separated for uplink and downlink traffic. In UMTS, data volumes are in octets above the GTP-U layer and are separated for uplink and downlink traffic.
Format
Length
List of Traffic Volumes
This list includes one or more Traffic Volume containers related to a “Change of Charging Condition” as described in 6.7. The maximum number of containers is configurable, see chapter 2.
This list includes containers that include the following fields:
Format
Sequence
Length
Variable
Local Record Sequence Number
This field contains a unique sequence number associated with the NodeId field and independent of the PDP context. Unless the LRSN rewrite feature is used on the HDD, the Cisco SGSN will generate multiple NodeIds (one for each internal process generating CDRs), each with its own sequence number. The number, allocated sequentially and including all CDR types, is unique within one physical node, which is identified either by field Node ID or by record-dependent node address (SGSN address, GGSN address, Record Entity). The local sequence number will be restarted at 0 when, for example, the node is reloaded.
Note: Since node-id is unique centralized LRSN feature must be enabled.
Format
Unsigned Integer (0..4294967295)
Length
1–4 Bytes / 1-5 Bytes (custom33)
Location Area Code (LAC)
This field contains the location area code (LAC) identifying the location area in which the served party is currently located. When the (partial) record is opened. The LAC is coded according to 3GPP TS 24.008.
Format
Octet String
Length
2 Bytes
MS Network Capability
This field identifies the mobile station network capability value or information element for the served MS at PDP Context Activation or at GPRS Attach as defined in 3GPP TS 24.008
Format
Octet String
Length
1–8 Bytes
Network Initiated PDP Context
The presence of this field indicates that the PDP context was initiated by the network.
Format
Boolean
Length
1 Byte
Node ID
The identifier string for the SGSN that had generated the CDR. Node ID, along with local record sequence number, uniquely identifies a CDR.
On the ASR5K SGSN, this NodeID field is a printable string of the ndddSTRING format:
If this node-id-suffix is not configured, the SGSN uses the GTPP context name as the Node-id-suffix (truncated to 16 characters).
This field is only included when the option "gtpp attribute local-record-sequence-number" is configured.
Format
Octet String
Length
1–20 Bytes / 5-20 Bytes for custom33
PDP Type
The PDP context type. The PDP types supported by the SGSN are IP or PPP (including IHOSS:OSP).
Format
Hex Value Octet String
Length
2 Bytes
pLMNIdentifier
This field defines the PLMN identity (MCC and MNC) as part of the location information. It is present only if the option to include PLMN identity has been set by the operator.
Note: Bits 5-8 of octet 2 contain third MNC digit, or 1111 used as filler when MNC has only two digits.
Format
Octet String
Length
3 Bytes
QoS Negotiated
QoS Negotiated indicates the applied QoS accepted by the network.
Note:
Format
Octet String
Length
4-12 Bytes
QoS Requested
The Quality of Service Requested field contains the QoS desired by the MS at PDP context activation.
Note:
Format
Octet String
Length
4-12 Bytes
Radio Access Technology (RAT) Type
The SGSN may include the RAT Type IE along with User Location Information IE, and MS Time Zone IE if they are available. The RAT Type IE is not included for the MS-initiated PDP Context Modification procedure.
Format
Integer (1-255).
Length
1 Byte
Record Extensions
A set of network operator or manufacturer specific extensions that may be added to the record if provided. It is used for reporting flows and volumes consumed, and also for passing key information about the session into the downstream charging systems.
note_smallImportant: This field is customer specific.
Record Opening Time
The timestamp at which the PDP context was activated on the SGSN or when a subsequent record is opened after a partial record. The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the configured mechanism (ceiling, floor, round-off) this is translated into the timestamp which only shows the full seconds.
Format
BCD Encoded Octet String
Length
9 Bytes
Record Sequence Number
A running sequence number used to link partial records generated by the SGSN for a specific PDP context (characterized with the same Charging ID and SGSN address pair). This field is only present in case of partial records or if the first record is also the final record.
Format
Unsigned Integer
Length
1–5 Bytes
Record Type
Indicates type of the record: S-CDR(sgsnPDPRecord) >>> 18 (0x12).
Format
Integer
Length
1–4 Bytes
RNC Unsent Downlink Volume
The downlink data volume that the RNC has not sent to MS. This field is present when the RNC has provided unsent downlink volume count at RAB release.
Format
Unsigned Integer
Length
1–5 Bytes
Routing Area Code (RAC)
This field contains the Routing Area Code (RAC) of the routing area in which the served party is currently located when the (partial) record is opened. The RAC is coded according to 3GPP TS 24.008.
Format
Octet String
Length
1 Byte
Served IMEI
This field contains the international mobile equipment identity (IMEI) of the equipment served. If IMEISV (IMEI softare version) is available, then IMEISV shall be sent in the CDR. The structure of the IMEI is defined in TS 23.003.
The IMEI is composed of the following elements:
A filler digit "f" is added after the spare digit to fill up the last byte.
Format
BCD Encoded Octet String
Length
8 Bytes
Served IMSI
The International Mobile Subscriber Identity (IMS) of the MS. The IMSI is formatted in accordance with 3GPP TS 23.003. This will be present if the Anonymous Access Indicator is FALSE or not supplied.
Format
BCD Encoded Octet String
Length
3–8 Bytes
Served PDP Address
The binary-represented IP address associated with the PDP context of the served IMSI for the CDR. This address could be either static or dynamically assigned. The standard 3GPP TS32.298 allows a choice of either IPAddress or ETSIAddress - a binary IPv4 address (iPBINV4Address) or IPv6 address (iPBinV6Address).
Format
Choice
Length
4 bytes for IPv4 address
16 bytes for IPv6 address
Served MSISDN
The primary Mobile Station (MS) ISDN number (MSISDN) of the subscriber.
Format
BCD Encoded Octet String
Length
1–9 Bytes
SGSN Address
The SGSN IPv4 addresses (binary-represented) used over the duration of the CDR. The address(es) can be either user or control-plane addresses.
Format
Hex Value Octet String
Length
4 Bytes per address, field max is 30 Bytes
SGSN Change
Present if this is first record after SGSN change.
Format
Boolean
Length
1 Byte
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883